<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
<ui:composition>
    <h:graphicImage library="images" name="logo.png" styleClass="logo" title="Inmobiliaria Balda"/>

    <h:panelGrid columns="7" styleClass="smallNav" columnClasses="smallNavText,smallNavImg,smallNavText">
    	
        <h:outputLink value="#{request.contextPath}/j_spring_security_logout"  id="loginLink" rendered="#{not empty loginBean.nombre}">
            <h:outputText value="Salir: #{loginBean.nombre}"/>
        </h:outputLink>
         <h:outputLink value="#{request.contextPath}/login.jsf" rendered="#{empty loginBean.nombre}">
            <h:outputText value="Ingresar"/>
        </h:outputLink>
        <h:outputText value="|"/>
        <h:outputLink value="#" onclick="dlgDevelopers.show()">
            <h:outputText value="Desarrollado por..."/>
        </h:outputLink>
    </h:panelGrid>

    <p:ajaxStatus styleClass="logo" style="left:80px; width:32px; height:32px; margin-top: 10px;">
        <f:facet name="start">
            <h:graphicImage library="images" name="ajax-loader.gif" alt="AJAX Status"/>
        </f:facet>
        <f:facet name="complete">
            <h:outputText value=""/>
        </f:facet>
    </p:ajaxStatus>
</ui:composition>
</html>
